#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
package ${package}.log.convert;

import ch.qos.logback.classic.pattern.ClassicConverter;
import ch.qos.logback.classic.spi.ILoggingEvent;

/**
 *@ClassName JavaVersionLogConfig
 *@Description 获取java版本信息
 *@Author zhanglijun
 *@Date 2020/1/13 15:18
 *
 *${copyright}
 *Copyright (c) 2019. All Rights Reserved.
 */
public class JavaVersionLogConfig extends ClassicConverter {
    @Override
    public String convert(ILoggingEvent iLoggingEvent){
        return System.getProperty("java.version");
    }
}
